ASP.NET MVC 3 Models and Data Access |
Index |
Hands-On Lab
ASP.NET MVC Models and Data Access
Lab version:1.1.0
Last updated:6/28/2011
Contents
Overview
Exercise 1: Adding a Database
Task 2 � Creating a Data Model
Task 3 � Building the Application
Task 4 � Querying the Database
Task 5 � Running the Application
Exercise 2: Adding a Database Using Code First
Task 2 � Including Code First in the Solution and Connecting the Database
Task 3 � Working with the Model
Task 4 � Querying the Database
Task 5 � Running the Application
Exercise 3: Querying the Database with Parameters
Task 1 � Modifying StoreController to Retrieve Albums from Database
Task 2 � Running the Application
Task 3 � Accessing Albums by Id
Task 4 � Running the Application